package com.retail.bbq.cola;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan(value = {"com.retail.bbq.cola.mapper"})
@ComponentScan(value = {"com.retail"})
@SpringBootApplication
//@ImportResource(locations = {"classpath:elastic-job.xml"})
@EnableScheduling
@EnableFeignClients
public class RetailBBQColaApplication {

    public static void main(String[] args) {
        SpringApplication.run(RetailBBQColaApplication.class, args);

    }

}
